//
//  Map3DViewController.m
//  ios7Sample
//
//  Created by GeIL on 16/7/14.
//  Copyright © 2016年 KS. All rights reserved.
//

#import "Map3DViewController.h"
#import <MapKit/MapKit.h>
@interface Map3DViewController ()<MKMapViewDelegate>

@property (strong, nonatomic) IBOutlet MKMapView *mapView;

@end
@implementation Map3DViewController

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if ( self) {
        
    }
    
    return self;
}


- (void)viewDidLoad
{
    [super viewDidLoad];
    self.mapView = [[MKMapView alloc]init];
    self.mapView.frame = self.view.frame;
    
    [self.view addSubview:_mapView];
    self.mapView.delegate = self;
    
    self.mapView.centerCoordinate = CLLocationCoordinate2DMake(37.7923123, -122.4015442);
    self.mapView.camera.altitude = 200;
    self.mapView.camera.pitch = 70;
    self.mapView.showsBuildings = YES;
}


@end
